package com.zhkc.iess.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "SysResourcePermissionVO")
public class SysResourcePermissionVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 5149129027790952758L;

    @Schema(description ="id")
    private Long id;

    @Schema(description ="name")
    private String name;

    @Schema(description ="path")
    private String path;

    @Schema(description ="hidden")
    private boolean hidden;

    @Schema(description ="redirect")
    private String redirect;

    @Schema(description ="component")
    private String component;

    @Schema(description ="alwaysShow")
    private boolean alwaysShow;

    @Schema(description ="MetaVO")
    private MetaVO meta;

    @Schema(description ="pid")
    private Long pid;

    @Schema(description ="下级菜单")
    private List<SysResourcePermissionVO> children;

}